WP_Defender\Model\Lockout_Log A

Total Complexity 60
Dependencies 4
Dependents 11
Total lines 569
Lines of code 301
Logical lines of code 160
Comment lines 117
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
query_logs()
A
47 11 35
get_log_tag()
S
58 7 18
get_log_container_class()
S
59 7 16
get_log_tag_class()
S
59 7 16
count()
S
50 6 29
get_logs_and_format()
S
44 4 44
ban_status_where()
S
55 4 19
get_last_lockout_date()
S
56 3 19
get_summary()
S
52 1 24
count_lockout_in_30_days()
S
62 1 13
count_lockout_in_7_days()
S
62 1 13
count_lockout_in_24_hours()
S
62 1 13
remove_logs()
S
67 1 8
count_ua_lockout_last_7_days()
S
72 1 5
count_404_lockout_last_7_days()
S
72 1 5
count_login_lockout_last_7_days()
S
72 1 5
find_by_id()
S
71 1 6
delete()
S
68 1 8
truncate()
S
74 1 5